package xuegao.study.mall.order.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xuegao.study.mall.repo.dao.pms.PmsProductDao;
import xuegao.study.mall.common.domain.portal.PromotionProduct;
import xuegao.study.mall.order.service.PmsProductService;

import java.util.List;

@Service
public class PmsProductServiceImpl implements PmsProductService {

    @Autowired
    private PmsProductDao pmsProductDao;

    @Override
    public List<PromotionProduct> getPromotionProduct(List<Long> productIds) {
        return pmsProductDao.getPromotionProductList(productIds);
    }
}
